﻿#include "FilterInputStream.h"
using namespace yzrilyzr_array;
namespace yzrilyzr_io{
	FilterInputStream::FilterInputStream(InputStream & s){
		this->input=&s;
	}
	FilterInputStream::~FilterInputStream(){}
	int32_t FilterInputStream::read(){
		return input->read();
	}
	u_index FilterInputStream::read(ByteArray & buf, u_index off, u_index len){
		return input->read(buf, off, len);
	}
	void FilterInputStream::close(){
		input->close();
	}
	u_index FilterInputStream::available(){
		return input->available();
	}
}